package cn.glinks.liuhe.api.jsonbean;

/**
 * Des:注册请求的body实体类
 *
 * @author MarsBlade of Cyh
 * @created 2017/4/8 14:23
 */
public class RegisterInfo {

    /**
     * need : {"phoneNo":"","smscode":"","password":""}
     * basic : {"emid":"","name":"","idNo":"","unit":{"unitCode":"S8001","branch":"郑州园区"}}
     * personalInfo : {"sex":1,"birthDate":"","nationality":"","married":"","education":"","graduateTime":"","college":"","specialty":"","growthExp":"","workTime":""}
     * personalInterest : {"reading":"","browse":"","entertainment":"","diet":"","travel":"","music":"","film":"","intercourse":"","clothes":"","living":"","traffic":"","other":"","character":""}
     */

    private NeedBean need;
    private BasicBean basic;
    private PersonalInfoBean personalInfo;
    private PersonalInterestBean personalInterest;

    public NeedBean getNeed() {
        return need;
    }

    public void setNeed(NeedBean need) {
        this.need = need;
    }

    public BasicBean getBasic() {
        return basic;
    }

    public void setBasic(BasicBean basic) {
        this.basic = basic;
    }

    public PersonalInfoBean getPersonalInfo() {
        return personalInfo;
    }

    public void setPersonalInfo(PersonalInfoBean personalInfo) {
        this.personalInfo = personalInfo;
    }

    public PersonalInterestBean getPersonalInterest() {
        return personalInterest;
    }

    public void setPersonalInterest(PersonalInterestBean personalInterest) {
        this.personalInterest = personalInterest;
    }

    public static class NeedBean {

        /**
         * phoneNo :
         * smscode :
         * password :
         */

        private String phoneNo;
        private String smscode;
        private String password;

        public String getPhoneNo() {
            return phoneNo;
        }

        public void setPhoneNo(String phoneNo) {
            this.phoneNo = phoneNo;
        }

        public String getSmscode() {
            return smscode;
        }

        public void setSmscode(String smscode) {
            this.smscode = smscode;
        }

        public String getPassword() {
            return password;
        }

        public void setPassword(String password) {
            this.password = password;
        }
    }

    public static class BasicBean {

        /**
         * emid :
         * name :
         * idNo :
         * unit : {"unitCode":"S8001","branch":"郑州园区"}
         */

        private String emid;
        private String name;
        private String idNo;
        private UnitBean unit;

        public String getEmid() {
            return emid;
        }

        public void setEmid(String emid) {
            this.emid = emid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getIdNo() {
            return idNo;
        }

        public void setIdNo(String idNo) {
            this.idNo = idNo;
        }

        public UnitBean getUnit() {
            return unit;
        }

        public void setUnit(UnitBean unit) {
            this.unit = unit;
        }

        public static class UnitBean {

            /**
             * unitCode : S8001
             * branch : 郑州园区
             */

            private String unitCode;
            private String branch;

            public String getUnitCode() {
                return unitCode;
            }

            public void setUnitCode(String unitCode) {
                this.unitCode = unitCode;
            }

            public String getBranch() {
                return branch;
            }

            public void setBranch(String branch) {
                this.branch = branch;
            }
        }
    }

    public static class PersonalInfoBean {

        /**
         * sex : 1
         * birthDate :
         * nationality :
         * married :
         * education :
         * graduateTime :
         * college :
         * specialty :
         * growthExp :
         * workTime :
         */

        private int sex;
        private String birthDate;
        private String nationality;
        private String married;
        private String education;
        private String graduateTime;
        private String college;
        private String specialty;
        private String growthExp;
        private String workTime;

        public int getSex() {
            return sex;
        }

        public void setSex(int sex) {
            this.sex = sex;
        }

        public String getBirthDate() {
            return birthDate;
        }

        public void setBirthDate(String birthDate) {
            this.birthDate = birthDate;
        }

        public String getNationality() {
            return nationality;
        }

        public void setNationality(String nationality) {
            this.nationality = nationality;
        }

        public String getMarried() {
            return married;
        }

        public void setMarried(String married) {
            this.married = married;
        }

        public String getEducation() {
            return education;
        }

        public void setEducation(String education) {
            this.education = education;
        }

        public String getGraduateTime() {
            return graduateTime;
        }

        public void setGraduateTime(String graduateTime) {
            this.graduateTime = graduateTime;
        }

        public String getCollege() {
            return college;
        }

        public void setCollege(String college) {
            this.college = college;
        }

        public String getSpecialty() {
            return specialty;
        }

        public void setSpecialty(String specialty) {
            this.specialty = specialty;
        }

        public String getGrowthExp() {
            return growthExp;
        }

        public void setGrowthExp(String growthExp) {
            this.growthExp = growthExp;
        }

        public String getWorkTime() {
            return workTime;
        }

        public void setWorkTime(String workTime) {
            this.workTime = workTime;
        }
    }

    public static class PersonalInterestBean {

        /**
         * reading :
         * browse :
         * entertainment :
         * diet :
         * travel :
         * music :
         * film :
         * intercourse :
         * clothes :
         * living :
         * traffic :
         * other :
         * character :
         */

        private String hobby;
        private String sport;
        private String travel;
        private String intercourse;
        private String living;
        private String character;

        public String getHobby() {
            return hobby;
        }

        public void setHobby(String hobby) {
            this.hobby = hobby;
        }

        public String getSport() {
            return sport;
        }

        public void setSport(String sport) {
            this.sport = sport;
        }

        public String getTravel() {
            return travel;
        }

        public void setTravel(String travel) {
            this.travel = travel;
        }

        public String getIntercourse() {
            return intercourse;
        }

        public void setIntercourse(String intercourse) {
            this.intercourse = intercourse;
        }

        public String getLiving() {
            return living;
        }

        public void setLiving(String living) {
            this.living = living;
        }

        public String getCharacter() {
            return character;
        }

        public void setCharacter(String character) {
            this.character = character;
        }
    }
}
